package com.xjzd.http.server.keepalive;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class KeepAliveController {

    @GetMapping("/keepalive")
    public Object keepalive() {
        Map<String, Object> map = new HashMap<String, Object>();
        map.put("keepalive", true);
        return map;
    }
}
